<?php

// ******************************************************************************
// Cette classe est auto-générée! Merci de ne pas faire de modification dedans !!
// ******************************************************************************


class Subscription {

    private $id; 
    private $start_at; 
    private $end_at; 
    private $amount; 
    
    public function __construct() {
    }

    public function getId() { 
       return $this->id; 
    } 

    public function setId($id) { 
       $this->id = $id; 
    } 

    public function getStart_at() { 
       return $this->start_at; 
    } 

    public function setStart_at($start_at) { 
       $this->start_at = $start_at; 
    } 

    public function getEnd_at() { 
       return $this->end_at; 
    } 

    public function setEnd_at($end_at) { 
       $this->end_at = $end_at; 
    } 

    public function getAmount() { 
       return $this->amount; 
    } 

    public function setAmount($amount) { 
       $this->amount = $amount; 
    } 

    public function doMapping($row) { 
       $this->id = $row['id'] 
       $this->start_at = $row['start_at'] 
       $this->end_at = $row['end_at'] 
       $this->amount = $row['amount'] 
    } 
 } 
?>